package com.example.park_2306.video

import com.example.base.entity.AgreeEntity
import com.example.base.mvi.IUiIntent
import com.example.base.param.Reply
import com.example.base.param.SendComment

sealed class VideoIntent:IUiIntent {

    data object videoType:VideoIntent()
    data class video(val channelId:String,val page:Int,val pagesize:Int):VideoIntent()

    data class agree(val item:AgreeEntity):VideoIntent()
    data class unAgree(val item: AgreeEntity):VideoIntent()

    data class insert(val item: AgreeEntity):VideoIntent()
    data class delete(val item:AgreeEntity):VideoIntent()
    data class queryById(val id:Int):VideoIntent()
    data class getComment(val datatype:Int,val itemid:String):VideoIntent()
    data class sendComment(val sendComment: SendComment):VideoIntent()

    data class sendChildComment(val reply: Reply):VideoIntent()
}